<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title; ?></title>

	<base href="<?php echo base_url(); ?>" />
    <link rel="stylesheet" type="text/css" media="all" href="assets/admintheme_blue/css/style.css" />
	<link rel="Stylesheet" type="text/css" href="assets/admintheme_blue/css/smoothness/jquery-ui-1.7.1.custom.css"  />	
	<!--[if IE 7]><link rel="stylesheet" href="assets/admintheme_blue/css/ie.css" type="text/css" media="screen, projection" /><![endif]-->
	<!--[if IE 6]><link rel="stylesheet" href="assets/admintheme_blue/css/ie6.css" type="text/css" media="screen, projection" /><![endif]-->
	<link rel="stylesheet" type="text/css" href="assets/admintheme_blue/markitup/skins/markitup/style.css" />
	<link rel="stylesheet" type="text/css" href="assets/admintheme_blue/markitup/sets/default/style.css" />
	<link rel="stylesheet" type="text/css" href="assets/admintheme_blue/css/superfish.css" media="screen">
	<!--[if IE]>
		<style type="text/css">
		  .clearfix {
		    zoom: 1;     /* triggers hasLayout */
		    display: block;     /* resets display for IE/Win */
		    }  /* Only IE can see inside the conditional comment
		    and read this CSS rule. Don't ever use a normal HTML
		    comment inside the CC or it will close prematurely. */
		</style>
	<![endif]-->
	<script src="assets/grocery_crud/js/jquery-1.7.1.min.js"></script>
	<?php
	//css file Grocery CRUD
	foreach($css_files as $file): ?>
		<link type="text/css" rel="stylesheet" href="<?php echo $file; ?>" />
	<?php endforeach; ?>


	<!-- JavaScript -->
	<?php foreach($js_files as $file): ?>
	<script src="<?php echo $file; ?>"></script>
	<?php endforeach; ?>
    
	<script type="text/javascript" src="assets/admintheme_blue/js/jquery-ui-1.7.1.custom.min.js"></script>
	<script type="text/javascript" src="assets/admintheme_blue/js/hoverIntent.js"></script>
	<script type="text/javascript" src="assets/admintheme_blue/js/superfish.js"></script>
	<script type="text/javascript">
		// initialise plugins
		jQuery(function(){
			jQuery('ul.sf-menu').superfish();
		});

	</script>
	<script type="text/javascript" src="assets/admintheme_blue/js/excanvas.pack.js"></script>
	<script type="text/javascript" src="assets/admintheme_blue/js/jquery.flot.pack.js"></script>
    <script type="text/javascript" src="assets/admintheme_blue/markitup/jquery.markitup.pack.js"></script>
	<script type="text/javascript" src="assets/admintheme_blue/markitup/sets/default/set.js"></script>
  	<script type="text/javascript" src="assets/admintheme_blue/js/custom.js"></script>

	 <!--[if IE]><script language="javascript" type="text/javascript" src="assets/admintheme_blue/excanvas.pack.js"></script><![endif]-->
	

<style type='text/css'>
	body {font-family: Arial; font-size: 14px;}
	a {color: blue; text-decoration: none; font-size: 14px;}
	a:hover{ text-decoration: underline;}
</style>
</head>
<body>
<div class="container" id="container">
    <div  id="header">
    	<div id="profile_info">
			<img src="assets/admintheme_blue/img/avatar.jpg" id="avatar" alt="avatar" />
			<p>Welcome <strong><?php echo $this->session->userdata('email'); ?>        </strong><a href="<?php echo site_url('admincp/logout'); ?>">Log out?</a></p>
			
		</div>
		<div id="logo"><h1><a href="<?php echo site_url(); ?>">Administrator</a></h1></div>
		
    </div><!-- end header -->
	    <div id="content" >
	    <div id="top_menu" class="clearfix">
	    	
			<a href="<?php echo site_url(); ?>" target="_blank" id="visit" class="right">Xem trang chủ</a>
	    </div>
		<div id="content_main" class="clearfix">
			<div id="sidebar" class="left">
				<h2 class="ico_mug">Quản trị</h2>
			<ul id="menu">
				<li>
					<a href="#" class="ico_category">Danh mục sản phẩm</a>
					<ul>
						<li><a href="<?php echo site_url('admincp/pro_categories/add'); ?>">Thêm danh mục</a></li>
						<li><a href="<?php echo site_url('admincp/pro_categories/'); ?>">Quản lý danh mục</a></li>
					</ul>

					<a href="#" class="ico_product">Sản phẩm</a>
					<ul>
						<li><a href="<?php echo site_url('admincp/products/add'); ?>">Thêm sản phẩm</a></li>
						<li><a href="<?php echo site_url('admincp/products/'); ?>">Quản lý sản phẩm</a></li>
					</ul>

					<a href="#" class="ico_settings">Cấu hình slide</a>
					<ul>
						<li><a href="<?php echo site_url('admincp/galleries/add'); ?>">Thêm Slide</a></li>
						<li><a href="<?php echo site_url('admincp/galleries/'); ?>">Quản lý Slide</a></li>
					</ul>

					<a href="#" class="ico_user">Thành viên</a>
					<ul>
						<li><a href="<?php echo site_url('admincp/users/add'); ?>">Thêm thành viên</a></li>
						<li><a href="<?php echo site_url('admincp/users/'); ?>">Quản lý thành viên</a></li>
					</ul>

					<a href="#" class="ico_page">Quản lý trang</a>
					<ul>
						<li><a href="<?php echo site_url('admincp/pages/add'); ?>">Thêm trang mới</a></li>
						<li><a href="<?php echo site_url('admincp/pages/'); ?>">Quản lý trang</a></li>
					</ul>
					
				</li>
		
				
			</ul>

			</div>

			<div id="main_panel_container" class="right">
			<div id="dashboard">
				<h2 class="ico_mug"><?php echo $title; ?></h2>
				<?php echo $output; ?>
			</div><!-- end #dashboard -->
			
			
			
			</div>
			


		</div><!-- end #content_main -->
		
	    </div><!-- end #content -->
		   
    <div  id="footer" class="clearfix">
    	<p class="left">MeoVNXK.com</p>
		<p class="right" style="margin-right: 20px;">© 2014 By ThuanDH</p>
	</div><!-- end #footer -->
</div><!-- end container -->
</body>
</html>